
<script type="module">

import {ajax} from './ajax.js'

let json=null
ajax('./data.json').then(v=>json=v)
console.log('json=',json);

let json2=await ajax('./data.json')
console.log('json2=',json2);








</script>